added exit by pressing any key in case of keyboard test failure