Add UT to the parts that are uncovered by our current unit tests.
There is a complication here because the settings and secret_settings are initiated directly and loaded when the app.py is called.
We might be required to move it to functions as we did on RSTUF Worker, and it will give us more flexibility to mock and use pretend.
Originally posted by @kairoaraujo in #329 (comment)