merge tests from BN.js