testing off/on-line events