Added a more complex test scenario