Refactor TDD utils into it's own file.