adds boundary test for NEAR/? query
Signed-off-by: Sho Nakatani <lay.sakura@gmail.com>