New test for sample search