Removed unused variables and old comments in tests.