coverage + daemon tests done. 100% coverage on base.js, daemon.js, index.js and rpc.js. missing client.js and server.js for 100%.