Fix Travis failures in frontend chat tests.