Fix specs when used with wkhtmltopdf 0.12.1

0.12.1 is the current version of wkhtmltopdf and it behaves differently than the 0.9.9.1 used when the specs were written. This patch gets the suite passing with that version.