testparm: Split up functions that do multiple things.