fix test following the removing of set_flops.