add list_test code