added two simple testcases