Add an integration test for grabbing text