Add test-coverage task, modularise Karma configs