FIX: Test case for sparse matrices