Reimplement dossier reporter test as functional test, drop mocktest.