Avoid integer overflow in arc test.  Fixes #1918
Merge pull request #1954 from willmmiles/fix-arctest-1918

Avoid integer overflow in arc test.  Fixes #1918