Replace 'model' with more generic attributes
Keep all asserts as one-liners
Split layouts in views into two incompatible entities
Fix leaf layer detection
Raise on empty layers list
Multi-layered compiled templates
Test combined static layout
Support static layouts in layers