first working sinon test