Added test cases.