fixed tests, removed sinon