testnb function

Test a neighbours list for symmetry