Test for ApplicationView with template set and templateName unset.