Added test class for InputController