added test_list method