(chore) use path.join in tests for file fixtures

Before, in Windows tests would fail because the path separator
was wrong. Now, it uses path.join so it uses the system's
path separator.