Fix problem with unit test failure on TestPortalLinkConnector