tests: extracted tests for mocking Java classes to a separated test suite