Fixed image and pdf testing.
#time 4h