adds test key-handler that runs (stop) when any key is pressed