fix sgsparsematrix unittest when EIGEN is not available and make python modular test separate