Move blog examples into a test. Migrate to new Stream api