text passing py3 tests

~~Edit: well this fails some py2 tests, will keep it up here for now (in case I can fix it).~~

Fixes py3 tests for text (all langs) and search.