improved test case for end to end testing
added 2nd end2end testcase
passing two end2end test cases