Normalise path used in test to fix linux test failing