Fix userguide sample test

+review REVIEW-5214