The CRP test is done to measure the level of CRP (C-Reactive Protein) hormone that serves as an early marker of inflammation and infection.