pause added to testKeyboard