Removed unused variables/methods from test.