test cases for webp encoding