fix tests and make it work with encryption & sigs
update bitcore version