Removed unused variables for unit tests.