By the way, there's a nice book by Kent Beck called "Test Driven Development by Example" that might be helpful to look at: http://en.wikipedia.org/wiki/Test-Driven_Development_by_Example