moving tests to mocha, p2, updated docs, a little