Test for password validation fix