Use local variable in template
Test behavior with and without custom view
Run test in random order