Fix path adjustment in tests.