add tests for options support