fix: add an observer for getting the PowerSpy data, and rewrite the tests according to that.