Refactoring of code, as well as an example test class.