Add thrashing state testcase.