Test the input.