complex test cases