expanding unit tests for tcp streams
- adding negative tests