Sample code for refactoring for testability talk