Add automation tests for blackberry.connection

Issue #492