CAMEL-8006 Fixed the test error of S3ComponentFileTest