add tests to check bad buckets definitions

message is now printed to the user when buckets declared in the config
file cannot be parsed