Update test function generator.