[#71435166] Updated model test for password length to be more robust

Signed-off-by: Ellie Schneiders <ems2141@gmail.com>