Added support for testing with mocha. UI improvements and partial tree support for displaying values