First attempt at tests for the deflate changes