Test for --layout being empty

This is the actual cause for #212