Add settings
Add tests.