Change AppTester.check.state(obj) to check against the serialized state