basic tests for util.bitcore.js