No as refreshConfiguration actually passes back a config object and you can't pass anything back into mocha's callback. I'll add in the config parameter in the appropriate places