Corrections to tests.

Signed-off-by: Gary Pamparà <gpampara@gmail.com>
Add support for static neighbourhood functions in simulator.

Signed-off-by: Gary Pamparà <gpampara@gmail.com>