I wouldn't expect `Rails.application=` to have that many side effects. Maybe we should have a `Rails.define_application` or something but I can see people setting `Rails.application` to a mock or something in tests and this is definitely going to break it.