Rename input to canvas events.
Fix unit tests (not finished).
Tests for mouse move.