Add tests to api keys.