Cleanup + unit test for SW.reboot(at)
Merge pull request #282 from shermdog/housekeeping

Cleanup + unit test for SW.reboot(at)