FormatType Spec: Streamline test cases

This commit makes the tests on the Formattype isregname a bit more
intuitive and way less confusing. By using a forEach and constructing
each case instead of manually typing it it is now way simpler to add
tests as well.

Signed-off-by: Mark Stenglein <>
3 jobs for develop in 1 minute and 15 seconds (queued for 3 seconds)