Complete testing KeyboardEvent (see description)

removed KeyboardEvent class and implemented its method on class
HelloWorld