added tests for url extraction