test(searchaccount): add test for type filter (refs #4367)