changes to proper sinon version, adds tests for infoView