complex test case