Add test cases for URL parsing

Signed-off-by: Raul Gutierrez S <rgs@itevenworks.net>