Matrix operator tests