Wrote a test case.