Fix tests for Text provider