Add a test for local subdomain querying

A short test to check that the local subdomain query functions work.

Also included is a fix to use the correct name in Cyclic's dsiTargetLocales function.