added unit tests for transinv_to_invtrans and tag_solve_triangular