collect up testcodes