add complex test case