unit test for search form