Test several random matrices