added test-gif and test-xpm scripts