Fix MatrixBuilder test