added component.json
added mocha for tests
added first test for component support