Genetics test

How accurate genetic test in determining gender?