added tests for expect and expect_regex
Merge pull request #196 from petercable/tcp_client

added tests for expect and expect_regex