piggy: added more tests for the connection reader