Rewrite s3 - bucket test

fix s3 bucket test for riak (need some work around for back word compatibility)