Add test for new spine capstyle, workaround PDF rendering errors in low-dpi tests.