API url + test coverage improvements