move to auto unit test from mocha