Add tests for clioption.