Add support for testing LayerTreeModel from the app