Rebuilding the CRM software using TDD