Add some initial tests for the input subsystem, covering all the APIs in both synchronous and thread mode. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>