test for findhorizontal