Add api_key created test