fixes FGRibreau/doxx#2 and extended unit test