Refactor imports for text performance tests

Test: None
Change-Id: I6c60cd2d3c634750db12ab17236867f0660fd828
4 files changed