Python Design Code To Be Testable Vs Non