Fix tests broken due to patient gender becoming a resource.