add typedef test in class