A simple test follows:

${message}

A list of ${animals?size} animals follows:

${animal}, .

The first animal is an ${animals?first}, and the last is a ${animals?last}.

The end.