move the test script for loop to inside pycfuncs_transforms