Fixing InputHandler unittests