This code is hit by
```
+    assert integrate(exp(n*x), x) == Piecewise(
+        (x, Eq(n, 0)), (exp(n*x)/n, True)) 
```