Add root option to unit tests