add test for frontmatter var availability in views

ref #6