fix typo in calc_qi() tests