Moved tests to test/java, added mockito depdency to gradle