Suffixes and more tests

More elegant way to iterate over suffixes.
Added "fake" test file for png.