small preprocessing fixes

* fixed negative coordinate-related bugs
* added missing ImageMetricSpace constructor
* added more preconfigured tests