Test impl in java