Updated urlparse
Added testsuite for urlparse
My changes