add golden master type test in java