Add visual regression tests (#994) Co-authored-by: Roman Pronskiy <roman@pronskiy.com> Co-authored-by: Derick Rethans <derick@php.net>