use istanbul to get code coverage reports

Using 'mocha' and 'istanbul' is more reliable to organize test code.
And will you want to use 'boswerify' to split src to more than one file?
It is easier to read.