Added basic tests mouse and keyboard callbacks. Fixes #3.

The tests check to make sure that the user passed function for
updating after a mouse or keyboard event is actually used.