Make sure validation for gender field works