shape test cases + small error test case added