add more tests for settings.py
fixes #121: add tests for registers.py