fixed the ObjectListTest::testHasKey impl.