code for test case tc_6.1.2 added