rework test infra. Fixes #22. Ref #6.
Fixes incorrect PageX, PageY (fixes #21). Rework synthetic event creation/properties definition. Add intern test (fixes #6).