Fix warning in core_input_test