Removed separate dir() test as it being used in copyPath() test