Removed some unused variables from the unit tests.