Added some test code for input system.