I think your solution is fine. In that TestStub only the config keys were mocked, so it makes sense to add anything is added