massive refactoring of tests structure; add delete bucket test