Add unit test for compression quality