It will help to catch simple errors during the development phase, instead of at deployment time, and hopefully avoid things like T228049.
This is blocked on the subtask for the BC policy, and we'd also need SMW to be loaded for testing. In case this isn't possible (and I suspect it isn't), then I'll just stub whatever classes and methods PageForms is using.