add test on input value mode