conditionals and tdd