The former Wimbledon finalist tested positive for a metabolite of cocaine at a tournament in June.