Remove warnings in test suite

lib/active_record/store.rb:79: warning: method redefined; discarding old color=
lib/active_record/store.rb:79: warning: previous definition of color= was here
lib/active_record/store.rb:83: warning: method redefined; discarding old color
lib/active_record/store.rb:83: warning: previous definition of color was here
Merge pull request #13616 from zirni/remove_warnings

Remove warnings in test suite
Add 'e' var on rescue DalliError, in order to log it
Merge pull request #13617 from arthurnn/error_var

Add 'e' var on rescue DalliError, in order to log it