* Only raise a single warning for unexpected inputs * Update invalid input test to raise single warning