Add unit test cases.