Fixed test for chekc_list_var method