test matrices updated