Split existing testDecompress into several functions to make it easier to add CUDPP code