DHC tests: minor warning fix, minor increase in test coverage (1 line, hopefully!)