Change the info callback test to at least assert that the connection arg...

...ument is a Connection instance.

Fix the implementation to make the test pass.

Fixes #16.