Add tests for ApiKeyAuthenticator