Add NoFreeze/GlobalFreeze to api/settings

It's not a unit test. This is simply a functional test of setting boolean-type settings with SetFlag/ClearFlag.