Fixed failing TextInputFormatTest

Signed-off-by: Robert Metzger <metzgerr@web.de>