Add clean_userphrase in testhelper