Tests for Input class