build list comprehension and test