we could probably use sinon to stub the methods and make it return what we need, but ok, let's do that for now