Test demo impl in java