Add tests to cover settings with square brackets and quotes in the name