upgraded fpdf, better tests, passes travis.ci tests, thanks Niphlod