fix import of deprecated http handler for S3 handler
increase delay in test to avoid small time differences