added test case 27 for testing error handlers