update tdd lecture and add code samples