Fix test I broke by changing semantics of extract_text