implemented list functionality for get_next_tests callback. works well (and ends) for 100 test cases