add some tests to increase coverage of pika.connection
Merge pull request #461 from charleslaw/master

add some tests to increase coverage of pika.connection