Fixed a typo in KeyEndpointTestCase method.