Fixing tests for path.h