tests for route-params->image-type