increase branch coverage of tests to 100%