Fixed errors raised by KeyBindingManager unit test