tests for searching