```ruby
namespace :db do
  namespace :test do
    
    def common_stuff
      Rake::Task['db:backup:load_probe_configurations'].invoke
      Rake::Task['db:backup:load_ri_grade_span_expectations'].invoke
      Rake::Task['app:jnlp:generate_maven_jnlp_resources'].invoke('false')
    end
    
    desc 'after completing db:test:prepare load probe configurations'
    task :prepare do
        ActiveRecord::Base.establish_connection(ActiveRecord::Base.configurations['test'])
        common_stuff
    end
    
    
    desc "prepare db for feature"
    task :prepare_cucumber do
      Rails.env = ENV['RAILS_ENV'] = 'cucumber'
      Rake::Task['db:drop'].invoke
      Rake::Task['db:create'].invoke
      Rake::Task['db:schema:load'].invoke
      
      common_stuff
      
      require File.expand_path('../../../spec/spec_helper.rb', __FILE__)
      APP_CONFIG[:password_for_default_users] = 'password'
      Rake::Task['app:setup:create_default_data'].invoke
    end
    
  end
end
    ```

Change function name to load_common_data.
user
```ruby
namespace :db do
  namespace :test do
    
    def load_common_data
      Rake::Task['db:backup:load_probe_configurations'].invoke
      Rake::Task['db:backup:load_ri_grade_span_expectations'].invoke
      Rake::Task['app:jnlp:generate_maven_jnlp_resources'].invoke('false')
    end
    
    desc 'after completing db:test:prepare load probe configurations'
    task :prepare do
        ActiveRecord::Base.establish_connection(ActiveRecord::Base.configurations['test'])
        load_common_data
    end
    
    
    desc "prepare db for feature"
    task :prepare_cucumber do
      Rails.env = ENV['RAILS_ENV'] = 'cucumber'
      Rake::Task['db:drop'].invoke
      Rake::Task['db:create'].invoke
      Rake::Task['db:schema:load'].invoke
      
      load_common_data
      
      require File.expand_path('../../../spec/spec_helper.rb', __FILE__)
      APP_CONFIG[:password_for_default_users] = 'password'
      Rake::Task['app:setup:create_default_data'].invoke
    end
    
  end
end
    ```
assistant