test for textmaphandler