Added branch coverage and fixed coverage report generation