Fix test_kernel to support keyboard emulation
Merge pull request #22 from ludrao/master

Fix test_kernel to support keyboard emulation