try to fix test failures

see https://issues.apache.org/jira/browse/COMPRESS-326 for background
2 files changed