test offline register