fixed unset root value tests
Simplified remove by using reference()

ReferencedValue now holds the owner and the decoded token