add tests for root