hacks to work in the browser
this test is already in gcd.js
0.1.1