fix get_resources_resource_id_availability_test