Fix sidebar doctype :)
Add tests to check pageMod is correctly installed and sending events back to the addon