add Python streaming tests

Add basic streaming tests in Python