Added an End-to-End Test Case