Add tests for settings builder.