NamedBlockList can have spaces and newlines between components.

Also, add a test for NamedBlockList.