Use the realpath of the test data file in the tests.