Added test for invalid options