More unit tests for "Copy Qualified Name"

Adds a unit test that makes sure that we are dealing with identifiers
like '::', '+' and so on properly.