Clean up grep command. Fix references to filters_text method in tests.