Add coverage to Karma
Add tests for pathformer