Get action.registerAgent/deregisterAgent w/tests