Add test to see if empty view names are reachable (#12379)

Change-Id: I42e972b27fa71fe9af624c4aac4f18610edab0fe