Check for sparse before starting the regression tests.