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 <mark@stengle.in>