correct legacy "eval_for_class, eval_for_class" bug in custom tests.