Collect test functions correctly.