Added tests for setting options