getting test code from s3