Cleanup + unit test for SW.reboot(at)