s3tests: add regression test for bug #10311 - rgw: Object is deleted automatically if conditional PUT returns 412

@yehudasa 

Test for bug #10311

Signed-off-by: Ray Lv <raylv@yahoo-inc.com>