Config loading and reloading

Converted the old python config-loading-and-reloading test to groovy/spock.