Reproduce pythontest test get neighbors nd