Add Exception and Error Testcase