Updated invalid test3
Logical fallicy of including var in neighbors eliminated