fixes #3198 + unit test

- fix for issue 3198.
- unit test for issue 3198.
- update for other tests.

*when removed entry from map, then listener event.getValue must return null, event.getOldValue must return removed value.
Can you please also simplify your test case? Seems a bit complex to me.
And you should also test ```EntryEventType.EVICTED``` case since you are removing it too.