only run the test if  defined?(ActiveRecord::Migration::CommandRecorder)