test-driven development simple example