updated_at is changed on move.
Refactored conditions logic to include updated_at
Fixed deprecation warning:

DEPRECATION WARNING: Passing a string to ActiveRecord::Base.establish_connection for a configuration lookup is deprecated, please pass a symbol (:sqlite3mem) instead. (called from <top (required)> at spec/spec_helper.rb:14)