add spec for InputManager