Get to 100% branch coverage

Exercise edge cases in branch statements.
Yes, that should never happen (tm). /cc @pcostell