fix firefox test

Fixes https://github.com/bitpay/bitcore/issues/297