Fix gemfire & twitter script tests

- Added explicit sleep to make sure there are no timeout issues.