avoid java specific dependencies in tests