fix impl_test for dirS3