fix for tests running twice - note: karma seems to always run phantomjs but chrome etc can also be used, fix generation of test coverage and use dots for progress