Add bucket property and test on metadata