Fix test app input handling