Last week, I continued writing Unit Tests for config, setup and user prefs library. There is a lot of functional code here that may need refactoring. Its important to figure out whether we want to refactor the functional code into OOP code or not. OOPing would enable us to use mocking to test complicated calls to several functions. Without OOPing the code, its very difficult to simulate all the test cases.
I will keep working on this module this week too.