Does it take more efforts for a developer to write a unit test?