s3tests: add conditional put test

Test for issue #8562

Signed-off-by: Ray Lv <raylv@yahoo-inc.com>