added pseudo-test for extracting features from shapefile by sql query.