switch assert to chai/expect.
caching trees are work now.
make formatting and jshint happy.
switch to mocha.