With pattern matching on the list. Failing tests