Implemented testing for url extraction