code for test case tc_2.2.1 added