Upgrade the dependency on Easymock to 3.2 and adapt the tests accordingly