completed password generator test