Removed unnecessary assignment

Removed unnecessary assignment from the test case.