test(search): Fix tests.