Gzip support and Tests