add Mocha. make some things integers. (who knows what that'll break lol.)
Write some unit tests. Oh, also fix 2.2 breakage.