db:test:clone and prepare must load environment

db:test:clone and db:test:prepare use
ActiveRecord::Base. configurations, so we need to load the rails
environment, otherwise the config wont be in place.
Regression test for load_structure and clone_structure
Merge pull request #13312 from arthurnn/fix_db_task_req

db:test:clone and prepare must load environment