added tests that detects inconsistent layout instances (#60)
fixed inconsistent layouts in controller tests (#60)