#1006 Added testcase