Progress with templates. Now failing test case for list expansion