Test for getNear