Tests assert using complete InvalidPathException message