Run tests

Add tests to `mocha.opts` so travis runs them. Also fix up tests so they all pass on travis.