Expand properly path to the test
Unify line-endings for test output comparison