Fix unit tests for relative paths