Add unit tests for sparsity caching with varying maps argument
Sort map pairs to get deterministic order and hit cache for any order
Add unit tests for sparsity cache hit with different order
Add further unit tests for sparsity cache misses