add test for #search_field when called with onsearch option