Added useful test cases.