More tests for TiffImagePlugin

 * Helps towards: Test coverage >= 80% #722.
 * flake8.