test self-reference