Test if you can access private endpoint