Add tests for urlencode and urldecode