Adding trigger function to keyboard.js object.
Adding unit test for keyboard inside state.