Add InputMode, start adding input tests.