Refactoring TestURL