Insufficient branch coverage by unit tests