[#66286136] Improving the testability of the yagnats integration

Signed-off-by: Johannes Tuchscherer <jtuchscherer@pivotallabs.com>