downgraded easymock dependency from 3.2 to 3.1
refactored some tests to work with easymock api 3.1