Removed unused vars in tests.