More complete test for querying speed, also can reset sub-matrix of a composite without memory leak now