Improve the grammar in the following text:
Genetic testing is a medical test, which is used to diagnose the disorder in the genome of a person and determine if this mutation can cause a specific disease.
Genetic testing is a medical test used to diagnose the disorder in the genome of a person and determine if this mutation can cause a specific disease.