updated to CBL 1.0 beta2
started converting unit tests to ti-mocha