removed unused variables from unit test