correct parser test_input_valid