Simplify tests.
 #8154 Add custom template. Degrok View regsitration.