EasyMock and Mockito dependencies are now optional again.