Remove unused variable from sparse_test.