require ref paths to be under a collection as well; fix tests