improve func_keys acceptance

fix missing test for search parameters