test samples with decorator usage