Added tests for `eager_load` config option to do not eager load for rake tasks if `eager_load` is `true`
Merge pull request #10195 from jetthoughts/eager_load_on_rake_execution_tests

Added tests for `eager_load` config option rake tasks