TST: sparse: add regression test for sparse matrix typemaps
BUG: sparse: fix omitted types in sparsetools typemaps

Fixes gh-3780
Merge pull request #3781 from pv/fix-sparse-typemaps

BUG: sparse: fix omitted types in sparsetools typemaps