```ruby
a = config['layout_defaults'][0] if config['layout_defaults']
config['layout_defaults'][0] = '' if config['layout_defaults']
@default_layouts = DefaultLayouts.new config
config['layout_defaults'][0] = a if config['layout_defaults']
```
Placing the above code in `Site::initialize` lets the tests still pass - I can change it anyway though, if you want.