Add more controls to Score for TreeModel.
Add units tests.