Could you also add a test to confirm the assertion (when the viewName doesn't exist)?