make tests folder if not exists
remove dependance on BigInt for keygen