The problem was that the listener was replaced in the EntityManager only
in the firs test case. For other test cases replaceListeners didn't replaced
anything because the original listener was not set.
This commit fixes the issue by setting the original listener back in the _after method.
[MALPOET-3983]