Added a more complicated test case