example of using test driven development