added tests for mouse and keyboard, added a shim for DOMEventsLevel3 KeyboardEvents