Karma: Fix tests.