adding cobertura coverage (currently at 3%) and adding {} to single-line if blocks