Added tests for the ModificationProtectionListener