Using relative path in tests

Before the tests used hard coded path to a file. Fixed this as I started
to run tests in the CI, which obviously wasn't going to work any longer.