Fix fail message for purge_connectors, add test.