Adding addUrl API test coverage