added a test example for invalid lists