Tests for password and confirmation