Added tests in test_hadamard

Added new tests in test_hadamard for Matrices, MatrixSymbols and
MatrixExprs.