make tests pass: fixed test data location detemination + windows newline...

after the change I can run junit tests without problems finding test data