Added automated match play for testing