added tests for stream.rb
added tests for fork.rb
polishing new fork implementation