handle input validation exception in test