cleanup test checks for root