The working of genetic tests