Fix paged tiff handler tests

This change requires I4428d38e0 to be merged into core
before the non-voting jenkins job that actually runs
these tests will pass this change.

Change-Id: Iaa73fe46a910ef090bd7786ba85d36e258ea51f9