Added tests, loading of keymap