Add pylint comments
Fix bug where LOGGING is shared between config classes
Ensure the environment is 'test' when testing
Refactor