fix karma tests
Merge pull request #1770 from cmgustavo/bug/karma-tests

fix karma tests