test $ref parsing to prevent circular dependencies