Added a complex test case