Fixing EndToEnd test case 2