Add tests for shp.