Added configuration for Karma
Fixed preprocessor for coverage