test for global search