Test 1. Should print five PAM headers
P7
WIDTH 14
HEIGHT 16
DEPTH 1
MAXVAL 1
TUPLTYPE BLACKANDWHITE
ENDHDR
P7
WIDTH 1
HEIGHT 1
DEPTH 1
MAXVAL 255
TUPLTYPE GRAYSCALE
ENDHDR
P7
WIDTH 227
HEIGHT 149
DEPTH 3
MAXVAL 255
TUPLTYPE RGB
ENDHDR
P7
WIDTH 64
HEIGHT 1
DEPTH 2
MAXVAL 7
TUPLTYPE GRAYSCALE_ALPHA
ENDHDR
P7
WIDTH 16
HEIGHT 1
DEPTH 4
MAXVAL 1
TUPLTYPE RGB_ALPHA
ENDHDR
Test 2. Should print 2260748250 293
2260748250 293
Test 3. Should print 1873848880 101532
1873848880 101532
Test 4. Should print 1475247910 3432 twice
1475247910 3432
1475247910 3432
Test 5. Should print 2347274358 101825 twice
2347274358 101825
2347274358 101825
