updated tests and started work on RESTBucket