Finish the initial testing of the options chainer

Unit tests has been finished to test both its correctness and its
capability to accurately report the location of the error.