tdd code for thoughtbot's apprentice io program