Add additional unit tests for ConnectionManager