test decorator