Fixed logical error in CameraCenterTest::onExit.