adding sinon support in tests and adding index page