refactored tests, wrote test for PluggableTree dummy model