test_utils_internal and api_parameters
The last examples are corrected and tests added