Added unit tests for options.