Error message can be improved:
```
error("argument %s to pragma(getUnitTests) must be a module", o->toChars());
```