Add tiff import/export color space tests
Before this commit there was no tests to check if tiff can be exported
and imported using a specific color space. This commit adds those tests.
It also changes the way filestest.h works to make sure there is no files
left afterwards.