TISTUD-5213 Reduce the scope of the property tester hasPreviewHandler