Better testing - check first that test envir has perms