Added Karma+Mocha+Chai testing