Write test cases.