add encryptPassword test