test fixes and mat from vecs