BillWake posted an instructive test-first challenge to the ExtremeProgramming mailing list.
Get it all at
CategoryTestDrivenDevelopment