Test pw confirm requirements

added test for password confirmation only when a password is present on update