fix chat simulation test to work in android
Merge pull request #1590 from ether/fix-tests-android

fix chat simulation test to work in android