Adds test for text type