Adds unit test for HA state transitioning
Ignores TestPullUpdates test as it's being fragile