Magic Millions $900,000 purchase wins trial at Randwick