Get sparsify tests to pass