add test case 3-7, 3-8 (would update later after confirmed error method and error type