Fix tests and update docs
Test a new simpler syntax for if