South Africa A captain Dean Elgar put on a 149-run opening stand with Reeza Hendricks