added test for testIsModified