Added a few test on the optional rule.