Test for obstacle search.