Tests for missing 'type' key in condition