BigIntegers js vs erlang test