added test to verify that the configuration API can actually configure both compression and encryption