Added generators from stream
Updated examples with the new testing framework