Added tests for `eager_load` config option rake tasks

Added tests to check that eager_load config option skipped for rake tasks like it says in comment

    # Rake tasks automatically ignore this option for performance.
    config.eager_load = true