machine: added simple keyboard polling test