fix file paths in tests for reading file