Error Handling tests.