Added unit test for animated GIF resizing

This is a unit test for https://github.com/avalanche123/Imagine/pull/348.