Test of Matrix