fix unit tests after switching to debug log for matching modules tool and 'module' function