add TCs and seperate some APIs to utilx_ext.h