Add some early error handling tests