If you want only
test in spaced capital letters, obviously
is the answer.
But if you want to make a chapter title into a link (
\spacedallcaps in that case, if I remember correctly), then you have to resort to a hack:
The problem is not to show the link address to
\MakeUppercase that would turn it in uppercase too.
However I don't recommend turning a chapter title into a link; better putting the link just at the start of the chapter text.