fixed bug in load_problems that had test_cases not in type == list