Merge pull request #10195 from jetthoughts/eager_load_on_rake_execution_tests

Added tests for `eager_load` config option rake tasks
Added 'form' param to to_datetime to be more like 'to_time'