added test for is_compressed