436398: change connector tests to reduce dependency on the UI

Change-Id: Ieb5a60ab2fc1ee0bb83d91d604570be3704c22a7
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=436398