[src][test] Simple implementation of get neighbors and accompanying tests