testconstants with mockingurl