Adjusted namespaces of reference tests to fit logical structure

Looks nicer in GUIs as the tests are grouped as in the filesystem.