Rewritten to automatically adapt to the number of tests
Authored by: andy_rushton 2009-10-05
Parent: [r319]
Child: [r321]