test for the neighbors model and the neighbors in common model