Added test for sgl.util.unify_types