Add unit tests for Nest and Pioneer.  Went back and added a bunch more tests for other controllers.  Revealed a few very small bugs which were also fixed.