Add test for config flags
Added util function to parse out function parameter names