Pin down legacy code with characterization tests before changing it
initial version — by wikipromptly