testing for root directory.