Add unit tests for custom options.