simple TDD exercise