Added test.
Renamed 'boolean' setting to 'require'; added test.