Refactor Make YAML Front Matter
Add tests for making YAML front matter and command line execution