Fix broken test.
Invert chat flow. Closes #172.