I'm not sure that this tests what you say it will as you're stubbing something then immediately calling the stub and expecting it to return what you defined.. maybe if you stubbed the `config.roots` it'd do as you imply.