Agent pubfreq and alarm get/set and tests.