test cases expanded