Hooray for test driven development.