Removed use of unused variable in test case