added tests for url