make invalid password generation dynamic
add passwd success test case