[TNL] ShapeMatrices: Use isZero/isOnes in tests.

Replace ASSERT with EXPECT.