Removed unnecessary code from the test

enter the commit message for your changes. Lines starting