You should not test behavior that is not part of this test. You are testing too much and that is why the test is confusing. If you want to verify removing entry listeners, make seperate tests for that. But while working on mm.remove, you should not test removal of the entry listener.