Better test output
Fix missing filepath URL decoding on Windows
code style
make tests Preferences-safe
fix test jar url