Testing Component module using Mocha, Chai, Karma