Unit test cases.