Add unit test for the newly API.

No match.