Passing unit tests for url helper