Remove dict comprehension from cf test