Refactor tests

Introduce karma as default test-runner.
Simplify tests declaration (BDD + assert).