Add unit test for combined risk counts

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>