Sparsity takes dimensions from the maps
Do not pass dim in unit test Sparsity constructors
Do not pass dim in regression test Sparsity constructors