Extract method 'compressData' and add a blank test class.