Created tests using Assert API of Chai.js to be able to run tests on all browsers including IE8