Initial commit of the unit tests.

Adding more coverage to option.