Add in_exp and out_exp unittest for generateUnittest