Fix sufficient neighbor algorithm
Unpend tests