Writing TDD chapter