Add tests for js-components (until Mocha is in this)