add test for deflate input