Fixed PNG output tests
Fixed gif tests