Add error handling tests for built-in transformers