Add test cases for userphrase removing