Tests for valid input formats