make test fail if a view is not returned