Trivial tests for sparse matrix example.