KartNGo interview question

how to make unit test