[testFaceRestIssueTracker] Unifiy duplicated code