Fix unit tests for firefox.
Update to karma v0.12.
Test mulit-token query for search index.