CPP TDD exercise