Added tests and updated ESB implementation.

Added tests and updated package.json with istanbul dependency for code
coverage reporting. ESB code is almost there.