Secure-matrix-test