Add tests for the search form including quick rules and persistence