Add validation tests with easymock