Karma plugin for js-factories https://github.com/matthijsgroen/js-factories