unit test for as root read test