It is six months and I believe that is from the date of the test (irrespective on how long it takes them to issue the certificate). I also believe the six months is up to the date you apply for the visa - not the date that the immigrant enters the country or even the date the visa is granted. If I am wrong, someone please correct me!