WIP Ticket #1635 Fix unit test problems in Windows 8

Better fix for ClassUtilsTest.java.