fix a test that was failing when executing the file directly from its
directory (unsafe path handling)