Improve settings test