add testcase for Untrain, fix a bug in Untrain, type again