[entity] fixed & tested DataEntityFragment::isModified()