fix api key and integration tests