[maven] run gulp test during testing phase instead of installing phase
[gulp, karma] refactor `gulp test` task