add tests for the ::option() API