Added tests for DirectionRequest
Fixed ToUri to be a bit more robust when properties are null.