I wrote some test cases.