Fix tests with Travis.
Karma: Fix tests.