tree: add test-cases for Stop
Reconfigure Travis CI to build under Mac OS X