add mock helper for cbmonitor tests