fix freetext integration test