test for root