Removing unused variables in tearDown method