Improve neighbors test