Don't use precomposed unicode characters in the tests on os x. The hfs+ file system stores file names in decomposed form and almost nothing normalises the names correctly to compare the two forms correctly.
Changed the IDEA generation to make sure the LANG environment variable is set when running tests from IDEA.