Typo fixed in testHasKeyAndHasLabel