add tests
update sinon version, add ie7 support for sinon