contents can be falsy (empty string). Fixes #32
On windows, the file path contains back slashes

Ensure that resourceURL is transformed to replace back slashes with
forward slashes
Fixed Server Tests to run on Windows