Fix test

Should fix https://travis-ci.org/ceeram/CakePdf/jobs/22432782
and
also resolves https://github.com/ceeram/CakePdf/pull/51