deal with missing closing boundary

@bf4 @jeremy
Yes, that's a great comment.

The tests demonstrate how the software is expected to behave. It doesn't explain implementation choices or design intent.