Test for catching input value