Revised test cases to check for iterable types