Introduced mocha with some early tests for device component.
Fixes #149