Minor logic fix in testbed (tickets and prizes).