Fix issue with long vs. int in doctest