Testing improvements

### Focus on:
* moving feature specs to javascript unit specs
* removing `with_task` factory overhead
Line exceeds maximum allowed length