For preserving pins I’ve used ISP connection pinouts.

Official test sketch from Arduino website.