add tests for def_list