fix dump_test