fix diff_test