Tests for input.