Converted tests to use ScalaTest instead of Specs.
Added URL path parsing support to handle "..".