initial rename to stream-to-array
add tests as a method
fix readme about yield