> use small sparse data, convert to dense and check you get the same output.

+1