Adds test for text type

I'm not sure if TextType is the right parameter type to use but I can't seem to get text type / string types correctly persisted.