[PATCH 1/2] Input: tests - fix use-after-free and refcount underflow in input_test_exit()