DAO unit tests for api key