Testing utilities setup and tests for COptions