There’s also chimeras who can have some XY cells and some XX cells due to the fusion of a male and female fertilized zygotes in the early stages of prenatal development.
Resulting in genetic tests of gender to result in different outcomes depending on which cells are sampled.