more tests and spatial functions
More tests and functions.