test that connect returns the same connection object when called more than once

Signed-off-by: Chris Boertien <chris@aktionlab.com>