CDAP-488 Improve integration tests for python

Making 50 (eventsNumber) requests to a remote CDAP instance can potentially take over 1 second.

Would it be better to use the sw.write()'s callback to determine when all of the requests are complete (and then to do the assertions below)?