Add a testcase for some past-the-end address subtleties.