Test the `readLine` assertions.

Reworked `readBranch` so that it would use the `check` function. Without
the `check` function, the exceptions are not forwarded to the callback,
even though they occur in the next tick, and the stack is unwound.

Statement coverage is now at 94.22%.