Test fix ProjectManagerTests.canSaveAllModified

Fix for JDK7.