Implement proper semantics of getSubref().
Test internal processing of URN initialized variously.