CURATOR-93 - Added compress() option for transactions.

Good question, I just copied this test from the other non transactional compression tests and modified to be in a transaction. I will update to compare the actual data.