Improves the unit test for PNG support