Fixing unit tests for path