Added testcases.