Adds tests and  option
Add documentation for options