moving to test driven development