added first test for sparse_matrix. It is hanging by now.