added parseUrl tests
fixed parseUrl bug

parse "?" in urls correctly