Test only a subset of the possible sparsity patterns