Fixed BranchBar when build has failed, added code coverage