add more comprehensive test for MatrixElement