Tests for exporting search results. Needs more work.