add testInputWithValue