use the sinon data mocking instead?