collapse test method sequence into testCollection() function