Ex-Test cricketer Stuart MacGill is facing trial for allegedly helping to facilitate a major cocaine deal between his brother-in-law and his drug dealer.