Add test for link aliases.
Randomize URL reference tokens.

This is finally the last reference token, right?