this test can be removed. If case of `null` value, the gender will be set to `null`