Fixed win and lose testcases in GameObjectTest