(test) Test nearby and contains.