[DF-5586] Add unit test.