update cons_test.m