A foreign diplomat who returned from overseas and is in quarantine in Canberra has tested positive to the virus.