Added testMethods for testing querys on very small tables on postgis and spatialite