adapating tests to new connector functions