Fixing editPasswd test