Created tests for api_parameters()