test/py: move U-Boot respawn trigger to the test core