[Olena-patches] milena r1305: Add tests for mat and vec and h_mat and h_vec