Add unit-test for ErrorForwarder
Moved tests to test/java, added mockito depdency to gradle