fixes function type presets of codec
fixes test cases and code for ini
all test cases for sync config
fixes reference errors; finish async test cases;