Fix settings section in configuration file

refs #5223
Add state tests

refs #5223