Show the exception if assertion fails
Fix file:/// URLs in tests on Windows