[tests] fixes EigenRowMajorSparseMatrix ContainerFactory