TST: 100% branch coverage