fixed _collectionsExist test #666