Tests for option warnings