implemented testing for picture upload to s3