clean up tests
Fix compressUrl for multiple '..'s and leading '..'