FIX: broken sparse matrix check under scipy 0.13.0