added test for JdtWriteException