Added testcases for writeImageFile in JmeDesktopSystemTest