Added lcov flag to enable branch coverage (which is disabled by default in new versions of lcov).