You asked
What should I test on a used 17mm lens bought from a private seller for the pen e pl8?
For a used lens from a private seller, the guide's checklist is written for camera bodies, so it doesn't list lens-specific tests. Its general advice still applies. Buying from a private seller carries more risk than buying from a specialist dealer with a returns window, so meet in person if you can, and test before you pay. Be wary of a price far below the market, a seller who won't let you test, and any payment method without buyer protection.
Once you're there, check the things the guide tells you to check on any used gear. Look for heavy wear or loose play at the lens mount, which suggests a hard life. Look for dents, cracks or corrosion on the contacts, which point to a drop or water. Then fit the lens to your Olympus PEN E-PL8 and try it. The guide's body checks, such as the shutter count and the sensor, belong to the camera, so run them on the PEN E-PL8 itself before you buy, not as lens tests. Take a few test shots and check that focus works and the image is sharp across the frame.
For the lens itself, the catalogue lists several 17mm lenses for Micro Four Thirds, from the Olympus M.Zuiko 17mm f/1.8 to the faster Olympus M.Zuiko 17mm f/1.2 PRO. The guide's checks above apply to any of them. For the general approach to used buying, see Buying used, and for the body-side checks, checking a camera body.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.