_get_api_function more efficient
new function get_volume_name
modernize misc.t test
remove some direct usages of $API_FUNC{...}