Legacy Code Retreat part one: get it under test