add support code for uni test