Remove unused imports.
Promote text fixture to be member variable in test cases.